package com.xuecheng.media.api;

import com.xuecheng.commons.model.vo.MediaVo;
import com.xuecheng.commons.model.vo.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//媒资feign接口
public interface MediaClient {
    //根据id查询媒资对象
    @GetMapping("/media/{mediaId}")
    public ResponseResult<MediaVo> findById(@PathVariable("mediaId") Long mediaId);

}
